package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BaseSupplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 供应商
 *
 * @author
 * @email
 * @date 2023-10-31 15:39:05
 */
@Mapper
public interface BaseSupplierDao {

    int save(BaseSupplier baseSupplier);

    int update(BaseSupplier baseSupplier);

    int delete(String id);

    BaseSupplier findById(String id);

    String findMaxCode();

    List<BaseSupplier> findAll(Map<String, Object> params);

}
